package com.zh.freechat.common.req.param;

import com.zh.webcommon.common.param.CommonParam;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
public class ChatMsgParam extends CommonParam {
    private String userId;
    private String chatter; //是群聊?群号:聊天人的uid
    private boolean isGroup = false;
    private long beforeTime;

    private Integer days = 180; //默认查询180天以内的消息

    public ChatMsgParam(String userId,String chatter){
        this.userId = userId;
        this.chatter = chatter;
    }
}
